Fix Bug: file_path.url

Brightcells 8 years ago
parent
commit
84163f001e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/url_utils.py

+ 1 - 1
utils/url_utils.py

@@ -12,4 +12,4 @@ def share_url(photo_id):
12 12
 
13 13
 
14 14
 def upload_file_url(file_path):
15
-    return file_path and ('{}{}'.format(settings.DOMAIN, file_path))
15
+    return file_path and ('{}{}'.format(settings.DOMAIN, file_path.url))